package com.uam.utils;

import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;

/**
 * @author uam
 * @create 2023/11/29 23:25
 * @email uam@uam.com
 */
public class PasswordUtils {
    public static String encoderPassword(String password) {
        BCryptPasswordEncoder passwordEncoder = new BCryptPasswordEncoder();
        return passwordEncoder.encode(password);
    }
}
